package day1.HomeWork;

public class Test4 {
    public static void main(String[] args) {
        Super a = new Sub();
        a.show();
        System.out.println("A: " + a.x);
        System.out.println("B: " + ((Sub)a).x);
    }
}
